#include <iostream>
#include "dbManager.h"

using namespace std;

int main()
{
    DBAPP->init();
    if(DBAPP->isUserExist("test1")) {
        cout << "uesr exists.\n";
    }
    else {
        cout << "uesr is not exist.\n";
    }
    if(DBAPP->registerUser("test1", "123456", "12345678910", "test1@mail.com", "2023-09-01 20:00:30")) {
        cout << "register successful.\n";
    }
    else {
        cout << "register failed.\n";
    }
    return 0;
}